//package com.adingxiong.pm.product;
//
//
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
///*
//@Component
//public class FanoutProduct {
//
//    @Autowired
//    private RabbitTemplate rabbitTemplate;
//
//    public void send() {
//        String content = "test fanout exchange message";
//        System.out.println("product message: " + content);
//
//        this.rabbitTemplate.convertAndSend("fanoutExchange", "", content);
//    }
//}*/
